package com.ruoyi.web.controller.ring.app;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.ring.domain.RingPhysicalLayoutInitialization;
import com.ruoyi.ring.service.IRingPhysicalLayoutInitializationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 身体状况布局初始化 app
 * 
 * @author liuwp
 * @date 2025-10-17
 */
@RestController
@RequestMapping("/ring/app/physical_layout_initialization")
public class AppPhysicalLayoutInitializationController extends BaseController
{
    @Autowired
    private IRingPhysicalLayoutInitializationService ringPhysicalLayoutInitializationService;

    /**
     * 查询身体状况布局初始化列表 app
     */
    @GetMapping("/query-list")
    public AjaxResult list()
    {
        List<RingPhysicalLayoutInitialization> list = ringPhysicalLayoutInitializationService.selectRingPhysicalLayoutInitializationList(new RingPhysicalLayoutInitialization());
        return AjaxResult.success(list);
    }
}
